In the Assistant window, ensure that the "Entity" tab is selected. In the Main Entities list, select User. Click the arrow pointing to the left to move the User entity from the Main Entities list to the Other Entities list.
By default, the entities are ordered alphabetically. For example, in the Query Window, the Customer tab is first, then Movie, and so on. In this application, it makes more sense to group Movie, Talent, and Studio together and group Customer, Unit, and Video.
In the Main Entities list, select Movie. Click the arrow pointing up to move the Movie entity to the top of the list. Move Talent so it's next in the list, then Studio. Customer, Unit, and Video, in that order, should be last in the list.
Click Apply. This updates the Assistant's in-memory set of rules. The new rules don't affect existing windows, but they are applied when Direct to Java Client generates new user interfaces in the running client application.
To see that your changes have been recorded in the Assistant's set of rules, choose "New Query Window" in the Tools menu. The new Query Window that opens doesn't have a tab for User, and the window's tabs are ordered as you specified in step Rearrange the entities..
Click Restart. This restarts the client application using the Assistant's in-memory set of rules. In the new instance of the application, the Query Window immediately displays the changes you specified.
Since you can't update an application's existing user interface by applying changes, you can use Restart to reflect your changes throughout the entire application. If you don't like the changes, you can revert them by clicking Revert.
Click Save. This updates the set of rules saved in your project. Once you have saved the changes, you can no longer revert.